PURL add well-known qualifier vers#433
Conversation
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
|
did not add an example to the spec, as the qualifier encoding is currently reworked -- #398 |
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
|
Is the # with scheme
pkg:cpan/AUTHOR/Module-Name?vers=vers:cpan/>=2.2.0|!= 2.2.1|<2.3.0
# without scheme
pkg:cpan/AUTHOR/Module-Name?vers=cpan/>=2.2.0|!= 2.2.1|<2.3.0 |
thought the same, but went with the full spec for the following reasons:
this being said, the qualifier name
|
|
updated/added examples, since #439 was merged |
pombredanne
left a comment
There was a problem hiding this comment.
Let's merge this and refine later, as there the update to the spec mean the example is not correct
johnmhoran
left a comment
There was a problem hiding this comment.
The example is incorrect -- the "Character encoding" section provides that the colon ':', "whether used as a Separator Character or otherwise", "MUST NOT be percent-encoded". We can refine this in a separate issue/PR.
The colon is never percent encoded anywhere. Reference: #433 Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
As sketched by @pombredanne and discusses in a PURL community meeting,
here is the qualifier
vers.example usage:
pkg:cpan/AUTHOR/Module-Name?vers=vers%3Acpan%2F%3E%3D2.2.0%7C%21%3D%202.2.1%7C%3C2.3.0vers:withpkg:? #386